Export Confusion Matrix

Export a confusion matrix based on the comparison of an image object classification to defined sample objects or object variable.

Related to algorithm Compute Accuracy Values and Tools > Accuracy Assessment to calculate and visualize a confusion matrix. Description of workflow in User Guide Developer > Tools > Tools.

See also this video - Accuracy Assessment

Related to this tutorial - Sample Statistics and Accuracy Assessment Tool

Supported Domains

Execute;

Algorithm Parameters

Export Mode

Export Item Name

Export item name in the export specification. Only available for Export mode > Static export item.

Export Item Variable

Variable containing the export item name in the export specification. Only available for Export mode > Dynamic export item.

Export Path

Modify to change the export file or directory. Default:

{:Workspc.OutputRoot}\results\{:Item.Name}\{:Project.Name}.v{:Project.Ver}.{:Ext}

Export Series

If set to yes, then multiple files per series will be exported, or additional columns will be created for table exports.

Confusion matrix

Input data

Select if an Image object level (defined in the domain) or a Flattened confusion matrix is used for the algorithm. Choose between:

Class filter

Select the ground truth classes. (Only available for Input data > Image object level.)

Ground truth

Select the source of the ground truth information. (Only available for Input data > Image object level.) Choose if the ground truth information is stored in a:

Input path

Select the path of an existing confusion matrix to be used as input for the computation. Only available for Input data > Flattened confusion matrix.

Add detailed statistics to export

If set to 'Yes' detailed statistics are included in the export, including User and Producer Accuracy, Hellden index and KIA per class.

Flatten confusion matrix

Export a single row of accuracy assessment values for each project instead of a standard confusion matrix. Only use if computing accuracy over multiple projects in a workspace.